<?php
require_once("conf/db_connection.php");

$opt_type = "";
$opt_type .= "<option value='0'>Completed Trips</option>";
$opt_type .= "<option value='2'>Rejected Assignment</option>";
//$opt_type .= "<option value='1'>Cancelled Trips</option>";

$return_str = "<table id='pop_table' class='pop_search' border='0' style='margin:25px 25px 0px 25px; padding: 0px auto;width:350px;height:350px;background-color:#FFFFFF;'>
<thead style='height:15%;'>
<tr id='hor-minimalist-b'>
	<th colspan='8'>Advanced Search</th>
</tr>
</thead>
<tbody>
<tr>
	<td class='label'>Date From:</td>
	<td class='td_input'><input id='report_date_from' name='report_date_from' type='text' /></td>
</tr>
<tr>
	<td class='label'>Date To:</td>
	<td class='td_input'><input id='report_date_to' name='report_date_to' type='text' /></td>
</tr>
<tr>
	<td class='label'>Type</td>
	<td class='td_input'><select id='sel_report_type' name='sel_report_type'>".$opt_type."</select></td>
</tr>
<tr>
	<td class='label'>&nbsp;</td>
	<td class='td_input'>&nbsp;</td>
</tr>
<tr>
	<td class='label'>&nbsp;</td>
	<td class='td_input' style='text-align:left'>
		<input onClick='generateReport()' style='width:auto;' type='button' value='Generate' />
		<input onClick='close_reports()' style='width:auto;' type='button' value='Close' />
		
	</td>
</tr>
</tbody>
</table>";
echo $return_str;
?>